package com.woniuxy.woniuticket.movieinfomodule.service;

import com.woniuxy.woniuticket.movieinfomodule.dto.LoginUserAndVip;
import com.woniuxy.woniuticket.movieinfomodule.dto.UserandVip;
import com.woniuxy.woniuticket.pojo.UserVipInfo;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;

public interface UserVipInfoService {
    //用户开通Vip
     String openVip(UserandVip userandVip);

    String deleUserVipInfo(Integer userId);

    void deledeleUserVipInfoForDateout(Date date);

    List<UserVipInfo> queryUserVipInfo(Date date);

    int queryUserNum(Integer vipId);

    List<UserandVip> queryAll();

    LoginUserAndVip queryAllForLogin(String account);

    List<UserandVip> queryAll1(@Param("all") UserandVip userandVip);

    UserandVip queryUserInfo(String telnumber);


    void insertUserVipInfo(UserVipInfo userVipInfo);

}
